﻿<%@ Page Title="Make Bookings" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="SOEN344_Term_Assignment._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Events
    </h2>
    <p>
        Personal Information
    </p>

    <asp:Panel ID="Panel1" runat="server">
    First Name: <asp:TextBox runat="server" ID="ClientFirstNameTextBox"></asp:TextBox>
    Last Name: <asp:TextBox runat="server" ID="ClientLastNameTextBox"></asp:TextBox>

    <p>
        Select the number of seats you'd like to book for each event (seats are limited to 9 per customer).
    </p>

        <asp:GridView ID="EventGridView" runat="server" Width="90%" OnDataBound="EventGridView_DataBound" >
        <Columns>
            <asp:TemplateField HeaderText="# Seats"> 
                <ItemTemplate> 
                    <asp:DropDownList ID="numberOfSeatsColumn" runat ="server" >
                        <asp:ListItem Text="0" Value="0" />
                        <asp:ListItem Text="1" Value="1" />
                        <asp:ListItem Text="2" Value="2" />
                        <asp:ListItem Text="3" Value="3" />
                        <asp:ListItem Text="4" Value="4" />
                        <asp:ListItem Text="5" Value="5" />
                        <asp:ListItem Text="6" Value="6" />
                        <asp:ListItem Text="7" Value="7" />
                        <asp:ListItem Text="8" Value="8" />
                        <asp:ListItem Text="9" Value="9" />
                    </asp:DropDownList>
                </ItemTemplate> 
            </asp:TemplateField>
        </Columns>
        </asp:GridView>

        <asp:Button runat="server" ID="SubmitButton" Text="Submit" OnClick="SubmitButton_Click" />

    </asp:Panel>

</asp:Content>
